package cn.seocoo.platform.car.domain;

import com.sun.istack.FinalArrayList;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.seocoo.platform.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 车辆基本表 tb_car_info
 * 
 * @author wujian
 * @date 2019-12-31
 */
public class CarInfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	public static final String MSG = "只有商家认证才可以发布多辆车辆,请前去商家认证";

	public static final String PUBLISH_TYPE = "1";

	public static final String TOP_PUBLISH_TYPE = "2";

	/** 上下架(0:上架;1 下架) */
	public static final String SHELF = "0";

	public static final String NO_SHELF = "1";


	public static final String IS_TOP = "1";

	public static final String NO_TOP = "0";


	/** 过户类型(1:可提档;2:包提档;3需挂靠) */
	public static final String ONE_TRANSFER_TYPE = "1";
	public static final String TWO_TRANSFER_TYPE = "2";
	public static final String THREE_TRANSFER_TYPE = "3";

	/** 付款方式(1:全款;2:包提档;3需挂靠) */
	public static final String ONE_PAY_MENT_TYPE = "1";
	public static final String TWO_PAY_MENT_TYPE = "2";
	public static final String THREE_PAY_MENT_TYPE = "3";




	/** 主键id */
	private Integer id;
	/** 发布人id */
	private Integer appUserId;
	/** 图片地址 */
	private String picturePath;
	/** 车型id */
	private Integer baseVehicleId;
	/** 车辆类别id */
	private Integer baseCategoryId;
	/** 品牌id */
	private Integer baseBrandId;
	/** 驱动形式 */
	private Integer baseDrivingTypeId;
	/** 轴数 */
	private Integer baseAxleNumber;
	/** 排放标准 */
	private Integer baseEmissionStandard;
	/** 车厢尺寸 */
	private String baseCarriageSize;
	/** 发动机 */
	private Integer baseEngine;
	/** 马力 */
	private String baseHorsepower;
	/** 燃料 */
	private Integer baseFuel;
	/** 车户所在地 */
	private Integer plateHomeId;
	/** 营运类型 */
	private Integer baseOperationType;
	/** 付款方式 */
	private Integer basePaymentType;
	/** 上户日期 */
	private String arrivalTime;
	/** 年检有效期 */
	private Date annualTime;
	/** 保险有效期 */
	private Date insuranceTime;
	/** 过户类型(1:可提档;2:包提档;3需挂靠) */
	private Integer baseTransferType;
	/** 意向价格 */
	private Integer intentionAmount;
	/** 车辆简介 */
	private String carContent;
	/** 联系人 */
	private String contacts;
	/** 联系电话 */
	private String contactsNumber;
	/** 交易地区 */
	private String tradingArea;
	/** 上架状态(0:上架;1下架) */
	private String shelfStatus;
	/** 删除状态：0正常，1删除 */
	private String delFlag;

	/** 是否置顶(0:未置顶;置顶) */
	private String isTop;
	/** 置顶开始时间 */
	private Date topStartTime;
	/** 置顶结束时间 */
	private Date topEndTime;
	/** 置顶类型id */
	private Integer topTypeId;

	/**
	 * 行驶公里
	 */
	private String travelling;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setAppUserId(Integer appUserId) 
	{
		this.appUserId = appUserId;
	}

	public Integer getAppUserId() 
	{
		return appUserId;
	}
	public void setPicturePath(String picturePath) 
	{
		this.picturePath = picturePath;
	}

	public String getPicturePath() 
	{
		return picturePath;
	}
	public void setBaseVehicleId(Integer baseVehicleId) 
	{
		this.baseVehicleId = baseVehicleId;
	}

	public Integer getBaseVehicleId() 
	{
		return baseVehicleId;
	}
	public void setBaseCategoryId(Integer baseCategoryId) 
	{
		this.baseCategoryId = baseCategoryId;
	}

	public Integer getBaseCategoryId() 
	{
		return baseCategoryId;
	}
	public void setBaseBrandId(Integer baseBrandId) 
	{
		this.baseBrandId = baseBrandId;
	}

	public Integer getBaseBrandId() 
	{
		return baseBrandId;
	}
	public void setBaseDrivingTypeId(Integer baseDrivingTypeId) 
	{
		this.baseDrivingTypeId = baseDrivingTypeId;
	}

	public Integer getBaseDrivingTypeId() 
	{
		return baseDrivingTypeId;
	}
	public void setBaseAxleNumber(Integer baseAxleNumber) 
	{
		this.baseAxleNumber = baseAxleNumber;
	}

	public Integer getBaseAxleNumber() 
	{
		return baseAxleNumber;
	}
	public void setBaseEmissionStandard(Integer baseEmissionStandard) 
	{
		this.baseEmissionStandard = baseEmissionStandard;
	}

	public Integer getBaseEmissionStandard() 
	{
		return baseEmissionStandard;
	}
	public void setBaseCarriageSize(String baseCarriageSize) 
	{
		this.baseCarriageSize = baseCarriageSize;
	}

	public String getBaseCarriageSize() 
	{
		return baseCarriageSize;
	}
	public void setBaseEngine(Integer baseEngine) 
	{
		this.baseEngine = baseEngine;
	}

	public Integer getBaseEngine() 
	{
		return baseEngine;
	}
	public void setBaseHorsepower(String baseHorsepower) 
	{
		this.baseHorsepower = baseHorsepower;
	}

	public String getBaseHorsepower() 
	{
		return baseHorsepower;
	}
	public void setBaseFuel(Integer baseFuel) 
	{
		this.baseFuel = baseFuel;
	}

	public Integer getBaseFuel() 
	{
		return baseFuel;
	}
	public void setPlateHomeId(Integer plateHomeId) 
	{
		this.plateHomeId = plateHomeId;
	}

	public Integer getPlateHomeId() 
	{
		return plateHomeId;
	}
	public void setBaseOperationType(Integer baseOperationType) 
	{
		this.baseOperationType = baseOperationType;
	}

	public Integer getBaseOperationType() 
	{
		return baseOperationType;
	}
	public void setBasePaymentType(Integer basePaymentType) 
	{
		this.basePaymentType = basePaymentType;
	}

	public Integer getBasePaymentType() 
	{
		return basePaymentType;
	}
	public void setArrivalTime(String arrivalTime)
	{
		this.arrivalTime = arrivalTime;
	}

	public String getArrivalTime()
	{
		return arrivalTime;
	}
	public void setAnnualTime(Date annualTime) 
	{
		this.annualTime = annualTime;
	}

	public Date getAnnualTime() 
	{
		return annualTime;
	}
	public void setInsuranceTime(Date insuranceTime) 
	{
		this.insuranceTime = insuranceTime;
	}

	public Date getInsuranceTime() 
	{
		return insuranceTime;
	}
	public void setBaseTransferType(Integer baseTransferType) 
	{
		this.baseTransferType = baseTransferType;
	}

	public Integer getBaseTransferType() 
	{
		return baseTransferType;
	}
	public void setIntentionAmount(Integer intentionAmount) 
	{
		this.intentionAmount = intentionAmount;
	}

	public Integer getIntentionAmount() 
	{
		return intentionAmount;
	}
	public void setCarContent(String carContent) 
	{
		this.carContent = carContent;
	}

	public String getCarContent() 
	{
		return carContent;
	}
	public void setContacts(String contacts) 
	{
		this.contacts = contacts;
	}

	public String getContacts() 
	{
		return contacts;
	}
	public void setContactsNumber(String contactsNumber) 
	{
		this.contactsNumber = contactsNumber;
	}

	public String getContactsNumber() 
	{
		return contactsNumber;
	}
	public void setTradingArea(String tradingArea) 
	{
		this.tradingArea = tradingArea;
	}

	public String getTradingArea() 
	{
		return tradingArea;
	}
	public void setShelfStatus(String shelfStatus) 
	{
		this.shelfStatus = shelfStatus;
	}

	public String getShelfStatus() 
	{
		return shelfStatus;
	}
	public void setDelFlag(String delFlag) 
	{
		this.delFlag = delFlag;
	}

	public String getDelFlag() 
	{
		return delFlag;
	}

	public String getTravelling() {
		return travelling;
	}

	public void setTravelling(String travelling) {
		this.travelling = travelling;
	}

	public String getIsTop() {
		return isTop;
	}

	public void setIsTop(String isTop) {
		this.isTop = isTop;
	}

	public Date getTopStartTime() {
		return topStartTime;
	}

	public void setTopStartTime(Date topStartTime) {
		this.topStartTime = topStartTime;
	}

	public Date getTopEndTime() {
		return topEndTime;
	}

	public void setTopEndTime(Date topEndTime) {
		this.topEndTime = topEndTime;
	}

	public Integer getTopTypeId() {
		return topTypeId;
	}

	public void setTopTypeId(Integer topTypeId) {
		this.topTypeId = topTypeId;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appUserId", getAppUserId())
            .append("picturePath", getPicturePath())
            .append("baseVehicleId", getBaseVehicleId())
            .append("baseCategoryId", getBaseCategoryId())
            .append("baseBrandId", getBaseBrandId())
            .append("baseDrivingTypeId", getBaseDrivingTypeId())
            .append("baseAxleNumber", getBaseAxleNumber())
            .append("baseEmissionStandard", getBaseEmissionStandard())
            .append("baseCarriageSize", getBaseCarriageSize())
            .append("baseEngine", getBaseEngine())
            .append("baseHorsepower", getBaseHorsepower())
            .append("baseFuel", getBaseFuel())
            .append("plateHomeId", getPlateHomeId())
            .append("baseOperationType", getBaseOperationType())
            .append("basePaymentType", getBasePaymentType())
            .append("arrivalTime", getArrivalTime())
            .append("annualTime", getAnnualTime())
            .append("insuranceTime", getInsuranceTime())
            .append("baseTransferType", getBaseTransferType())
            .append("intentionAmount", getIntentionAmount())
            .append("carContent", getCarContent())
            .append("contacts", getContacts())
            .append("contactsNumber", getContactsNumber())
            .append("tradingArea", getTradingArea())
            .append("shelfStatus", getShelfStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
